package com.shuhe.domain.mxgc;

public class CommonRwResponseBody {
    private String msg;
    private String status;
    private String qtime;
    private String extraStr;

    public String getExtraStr() {
        return extraStr;
    }

    public void setExtraStr(String extraStr) {
        this.extraStr = extraStr;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getQtime() {
        return qtime;
    }

    public void setQtime(String qtime) {
        this.qtime = qtime;
    }


    public void setSuccess() {
        setMsg("任务运行成功");
        setStatus("200");
    }

    public void setFail() {
        setMsg("任务运行失败");
        setStatus("201");
    }


}
